package com.oa.demo.gatewary.properties;

import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @author 孔德成
 * @date 2020/11/23 11:46
 */
@Data
@SpringBootConfiguration
@PropertySource(value = {"classpath:oa-gateway.properties"})
@ConfigurationProperties(prefix = "oa.gateway")
public class OaGatewayProperties {

    /**
     * url黑名单 禁止外部访问的 URI，多个值的话以逗号分隔
     */
    public String forbidRequestUri;
}
